
import instance from '../utils/request'

/*获取部门信息*/
export function getDept() {
  return instance({
    url: '/dept/findAll',
    method: 'GET'
  })
}

export function getDeptList(current,size,dept) {
  return instance({
    url: '/dept/getDeptList',
    method: 'POST',
    params:{
      current,
      size
    },
    data: dept
  })
}
